-
Notifications
You must be signed in to change notification settings - Fork 258
chore(deps): update dependency com.google.crypto.tink:tink to v1.19.0 #1652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore(deps): update dependency com.google.crypto.tink:tink to v1.19.0 #1652
Conversation
|
/gcbrun |
|
@huangjiahua Could you take a look at the CI issues regarding Aead? |
|
Looks like Tink is upgrading to protobuf 4.28 in the new version: This is the PR that they upgraded protobuf: tink-crypto/tink-java#44. It seems that their reasoning is protobuf 4.28 has restored binary compatibility with classes generated using 3.x. Does this mean we can exclude the protobuf version for Tink? |
b8189ab to
a67a2e8
Compare
|
/gcbrun |
a67a2e8 to
06d4fe4
Compare
|
/gcbrun |
06d4fe4 to
e3c5810
Compare
|
/gcbrun |
e3c5810 to
6c42022
Compare
|
/gcbrun |
6c42022 to
92b0f33
Compare
|
/gcbrun |
92b0f33 to
a1a9507
Compare
|
/gcbrun |
This PR contains the following updates:
1.15.0->1.19.0Release Notes
tink-crypto/tink-java (com.google.crypto.tink:tink)
v1.19.0: Tink Java v1.19.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.19
The complete list of changes since 1.18.0 can be found here.
Build changes
Dependencies
Obscure behaviour changes
Tink will reject custom key types where the Type-Url has non-ASCII characters.
Tink may serialize keysets slightly differently in certain cases. For
example, in the serialization of a ECDSA keyset, the points might be padded
differently than before. Users should not depend on the exact format of
Tink's serialization.
Use Conscrypt's AES-CMAC implementation when available and when the input is larger than 64 byte. This may improves the performance of AES-CMAC, AES-SIV and AES-EAX for large inputs.
Removed usage of thread-local Ciphers for ChaCha20Poly1305.
Added APIs
Added public
JwtEcdsaParameters.Algorithm.getEcParameterSpecmethod.The AES-SIV implementation in subtle now accepts multiple associated datas.
Future work
To see what we're working towards, check our project roadmap.
Getting started
To get started using Tink, see the setup guide.
Maven:
Gradle:
Bazel:
Using bzlmod
Using WORKSPACE
Alternatively, one can build Tink from source, and include it with
http_archive:v1.18.0: Tink Java v1.18.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and
misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.18.0
The complete list of changes since 1.17.0 can be found here.
Dropped support
Tink Android no longer supports API level 21 and 22. From Tink 1.18.0, the
minimum API level is 23.
Removed
Registry.wrap. This API cannot have been used by users: thePrimitiveSetneeded for it was already moved to internal in Tink 1.13.0.New Features
Use Conscrypt's implementation of
Ed25519when available.Improved performance of AES-GCM-SIV.
Tink now provides a flag
GlobalTinkFlags.validateKeysetsOnParsing(). Ifset to true, Tink will run certain validations on a keyset before it creates
a
KeysetHandle. We plan to flip the default of this flag to true in Tink2.0.
Bug fixes
AeadConfig.register()now always registers AES-GCM-SIV. If it's notsupported by the registered JCE Providers, it will fail when the primitive
is created.
The Aead implementation returned by
com.google.crypto.tink.integration.android.AndroidKeystore.getAead()created invalid ciphertexts on Android API version 28 and older when
the input was larger than 128kB. Now, it throws an exception instead.
JwtHmacKey,LegacyKmsAeadKey, andLegacyKmsEnvelopeAeadKeyare nowfinal. These cannot be properly subclassed as this would break
equalsKey.Obscure behaviour changes
available. Previously, this used to work with some Configurations succeeding
and the primitive then failed when encrypt or decrypt was called.
Future work
To see what we're working towards, check our
project roadmap.
Getting started
To get started using Tink, see
the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive:v1.17.0: Tink Java v1.17.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.17.0
What's new
The complete list of changes since 1.16.0 can be found here.
New APIs
This release does not add new functionality.
Bugfixes
Tink Java 1.17.0 fixes the following bugs:
allocateDirectto get a buffer which is only cleaned up asynchronously. This could lead to excessive memory consumption. Thanks to behrooz-stripe@ for reporting and fixing the issue!Future work
To see what we're working towards, check our
project roadmap.
Getting started
To get started using Tink, see
the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive:v1.16.0: Tink Java v1.16.0Compare Source
Tink is a multi-language, cross-platform library that provides simple and misuse-proof APIs for common cryptographic tasks.
This is Tink Java 1.16.0
What's new
The complete list of changes since 1.15.0 can be found here.
AndroidKeystore, which is now the preferred way to interact with the Android Keystore.X25519when available. On Android, it is available since API version 31. This makes HPKE both faster and uses less memory.@AccessesPartialKeyto be applied to fields and local variables, as well as methods and classes.X-AES-GCM, which is an AEAD algorithm with extended nonce. It usesAES-CMACfor key derivation andAES-GCMfor encryption. It is a generalization of the specification in https://c2sp.org/XAES-256-GCM.ConfigurationV0) that are backwards compatible with behavior before configs were introduced.Future work
To see what we're working towards, check our project roadmap.
Getting started
To get started using Tink, see the setup guide.
Maven:
Gradle:
Bazel:
Alternatively, one can build Tink from source, and include it with
http_archive:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.